package day04;

public class WhileDemo {
    public static void main(String[] args) {
        //输出五次“行动是成功的阶梯”
     /*   int times= 0;//循环变量的初始化
        while(times<5 ){//循环的条件
            System.out.println("行动是成功的阶梯");
            times++;                //循环变量的改变
        }
      */
        int num = 1;
        while(num<=9){
            System.out.println(num+"*9="+num*9);
            num++;
        }
        int times=0;
        while(times<10){
            System.out.println("阿姨洗铁路");
            times++;
        }
        int ou =2;
        while(ou<=100){
            System.out.println(ou+"*2="+ou*2  );
            ou+=2;
        }
    }
}
